#-*- coding:UTF-8 -*-
'''
Created on 2013-6-5

@author: hanjiewu
'''
'''
with context_expr [as var]:
    with_suite
仅能工作于支持上下文管理协议的对象
只有内建了“上下文管理”的对象才可以和with一起工作
'''
with open('cardlog.txt', 'r') as f:
    for eachLine in f:
        print eachLine
a = 2
assert a == 1